* {
  margin: 0;
  padding: 0;
  font-size: 14px;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: black;
}
i {
  font-style: normal;
}
b {
  font-weight: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 14px;
}
ul,
ol {
  list-style: none;
}
.wrapper {
  width: 1190px;
  margin: 0 auto;
}

header {
  .wrapper {
    > a {
      display: block;
      padding: 22px 0px;
      box-sizing: content-box;
      height: 44px;
      img {
        margin-top: 8px;
        width: 190px;
      }
    }
  }
}

main {
  background-color: rgb(221, 39, 38);
  height: 600px;
  position: relative;
  .wrapper {
    height: 100%;

    .main-logo {
      background: url(../img/main-logo.png) no-repeat;
      height: 100%;
      position: relative;
      a {
        display: block;
        position: absolute;
        top: 80px;
        left: 75px;
        width: 630px;
        height: 440px;
        border: none;
        outline: none;
      }
    }
    .login-form {
      position: absolute;
      top: 91px;
      display: block;
      right: 233px;
      background: #fff;
      .login-box {
        width: 350px;
        min-height: 350px;
        padding: 25px 25px 23px;
        color: #6c6c6c;
        background: #fff;
        position: relative;
        margin: 0 auto;
        .login-method {
          text-align: left;
          margin: 8px 0;
          margin-bottom: 20px;
          margin-top: 4px;
          .method-active {
            border-bottom: 2px solid #000;
          }
          span {
            display: inline-block;
            height: 18px;
            line-height: 5px;
            font-size: 16px;
            color: #3c3c3c;
            margin: 9px 10px 0 0;
            font-weight: 700;
            cursor: pointer;
            user-select: none;
          }
        }
      }

      .login-content {
        display: none;
        #login-error {
          border: 1px solid #ff934c;
          background: #fefcee;
          margin-bottom: 16px;
          font-size: 14px;
          padding: 5px 8px;
          overflow: hidden;
          border-color: #ffb4a8;
          background-color: #fef2f2;
          margin-top: -11px;
          position: relative;
          margin-bottom: 10px;
          font-size: 12px;
        }
        #area-phone {
          position: absolute;
          left: 40px;
          bottom: 0;
          &::before {
            content: attr(data-content);
            position: absolute;
            top: 0;
            left: 0;
            text-transform: capitalize;
            pointer-events: none;
            line-height: 40px;
            padding-left: 10px;
            color: #3c3c3c;
          }
          color: #6c6c6c;
          background: url(../img/select-n.png);
          background-size: 24px;
          background-repeat: no-repeat;
          background-position: 48px 8px;
          width: 65px;
          border: none;
          outline: 0;
          padding-left: 10px;
          height: 40px;
          line-height: 40px;
          cursor: pointer;
          border-bottom: 0;
          padding-right: 14px;
          appearance: none;
          -moz-appearance: none;
          -webkit-appearance: none;
          option {
            color: #3c3c3c;
          }
        }
        .input-box {
          position: relative;
          margin-bottom: 20px;
          font-size: 14px;

          > p {
            height: 40px;
            width: 40px;
            line-height: 40px;
            text-align: center;
            color: #fff;
            position: absolute;
            left: 1px;
            bottom: 1px;
            background-color: #ccc;
            i {
              font-size: 24px;
            }
          }
          .input-text {
            width: 100%;
            // border-color: #f1eeee;
            border: 1px solid #ccc;
            height: 42px;
            outline: none;
            font-size: 14px;
            padding-left: 50px;
          }
          #phonenum {
            border: 1px solid #ccc;
            height: 42px;
            outline: none;
            width: 300px;
            font-size: 14px;
            padding-left: 110px;
          }
          .get-smscode {
            position: absolute;
            right: 10px;
            bottom: 0;
            line-height: 40px;
            cursor: pointer;
            user-select: none;
            color: #6c6c6c;
            font-size: 12px;
          }
        }
        button {
          height: 42px;
          line-height: 42px;
          outline: none;
          color: #fff;
          width: 100%;
          cursor: pointer;
          background-color: #ff0036;
          border-radius: 3px;
          font-size: 16px;
          border: 0;
        }
        .more-link {
          margin-top: 16px;
          a {
            float: right;
            color: #6c6c6c;
            font-size: 12px;
            margin-left: 10px;
          }
        }
      }
      .active {
        display: block;
      }
      .form-corner {
        .corner-QRcode {
          position: absolute;
          right: 0px;
          top: 0px;
          width: 62px;
          height: 62px;
          z-index: 999;
          i {
            display: block;
            margin: 5px;
            font-size: 52px;
            color: #ff0036;
          }
          b {
            position: absolute;
            left: 0;
            bottom: 0;
            border: 31px solid white;
            border-top-color: transparent;
            border-right-color: transparent;
            z-index: 1000;
            cursor: pointer;
          }
        }
        .login-tip {
          position: absolute;
          top: 5px;
          right: 58px;
        }
        .poptip {
          line-height: 16px;
          position: relative;
          z-index: 9999;
          background-color: #fefcee;
          border: 1px solid #ff9000;
          padding: 5px 10px;
          border: 1px solid #f3d995;
          background: #fefcee;
          user-select: none;
          .poptip-content {
            color: #ff9000;
            font-size: 12px;
            font-weight: 400;
          }
          .poptip-arrow {
            position: absolute;
            z-index: 10;
            top: 8px;
            right: 0;
            em,
            span {
              position: absolute;
              border-style: solid;
              overflow: hidden;
              width: 0;
              height: 0;
              border-color: hsla(0, 0%, 100%, 0);
            }
            em {
              top: 0;
              left: 1px;
              border-left-color: #ff9000;
              border-width: 6px 0 6px 6px;
            }
            span {
              border-left-color: #fefcee;
              border-width: 6px 0 6px 6px;
            }
          }
        }
      }
    }
  }
}
footer {
  padding-top: 30px;
  .tmall-copyright {
    background: #fff;
    text-align: left;
    min-height: 177px;
    font-size: 12px;
    a {
      color: #a4a4a4;
      font-size: 12px;
      margin-right: 65px;
    }
    .footer-copyright {
      color: #a4a4a4;
      font-size: 12px;
      a {
        color: #a4a4a4;
        font-size: 12px;
      }
    }
    img {
      width: 20px;
    }
    > p {
      padding: 5px 0;
      font-size: 12px;
      color: black;
      a {
        margin-right: 3px;
        color: #000;
        font-size: 12px;
      }
    }
    > p,
    > div,
    span,
    b {
      width: 1190px;
      margin: 0 auto;
      color: #666;
      line-height: 25px;
      font-size: 12px;
    }
  }
}
